gadgetsetimagepos()

Description:

Set the position for the image in a gadgetimage() gadget.

Note: this command will only work with the gadgetimage() gadget.

Syntax:

Required syntax:

 

gadgetsetimagepos( gadgethandle , x# , y# )

 

Parameters:

Required parameters

Description

gadgethandle The handle to the gadgetimage´s image, you wish to set the position of
x# The horizontal position:

If x#<=1

This will move the image the specified percentage across.

i.e. 0.5 = 50 % = half way across.

else

move the image at pixel position

y# The vertical position:

If y#<=1

This will move the image the specified percentage down.

i.e. 0.5 = 50 % = half way down.

else

move the image at pixel position

Returns:

None

Example: